#pragma once
class MyArray
{
public:
	MyArray(int len);
	MyArray(MyArray& obj);
	~MyArray();
public:
	int & operator[](int i);
	MyArray& operator=(MyArray& arr1);
	int operator==(MyArray& arr1);
	int operator!= (MyArray& arr1);

	void setData(int index,int value);
	int getData(int index);
	int length();
private:
	int m_length;
	int * m_space;
};

